﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
				xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:peg="http://schemas.zxteam.net/2014/zxlang/peg"
				xmlns:msxsl="urn:schemas-microsoft-com:xslt"
				exclude-result-prefixes="msxsl peg">
	<xsl:output method="xml" indent="yes"/>

	<xsl:template match="/">
		<xsl:variable name="annotationNamespace" select="/peg:grammar/@annotationNamespace"/>
		<Project ToolsVersion="4.0" DefaultTargets="Build">
			<PropertyGroup>
				<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
				<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
				<ProductVersion>8.0.30703</ProductVersion>
				<SchemaVersion>2.0</SchemaVersion>
				<ProjectGuid>{56A32D3E-96E0-40F7-8B47-64358C192B65}</ProjectGuid>
				<OutputType>Library</OutputType>
				<AppDesignerFolder>Properties</AppDesignerFolder>
				<RootNamespace>net.zxteam.zxlang.Lexer.GeneratedParser</RootNamespace>
				<AssemblyName>Parser</AssemblyName>
				<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
				<FileAlignment>512</FileAlignment>
			</PropertyGroup>
			<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
				<DebugSymbols>true</DebugSymbols>
				<DebugType>full</DebugType>
				<Optimize>false</Optimize>
				<OutputPath>bin\Debug\</OutputPath>
				<DefineConstants>DEBUG;TRACE</DefineConstants>
				<ErrorReport>prompt</ErrorReport>
				<WarningLevel>4</WarningLevel>
			</PropertyGroup>
			<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
				<DebugType>pdbonly</DebugType>
				<Optimize>true</Optimize>
				<OutputPath>bin\Release\</OutputPath>
				<DefineConstants>TRACE</DefineConstants>
				<ErrorReport>prompt</ErrorReport>
				<WarningLevel>4</WarningLevel>
			</PropertyGroup>
			<ItemGroup>
				<Reference Include="System" />
				<Reference Include="System.Core" />
				<Reference Include="Microsoft.CSharp" />
				<Reference Include="System.Xml" />
			</ItemGroup>
			<ItemGroup>
				<Compile Include="Properties\AssemblyInfo.cs" />
			</ItemGroup>
			<ItemGroup>
				<ProjectReference Include="..\..\Lexer.Common\Lexer.Common.csproj">
					<Project>{288B2AA9-980F-4BEC-B900-F3AB779FA45B}</Project>
					<Name>Lexer.Common</Name>
				</ProjectReference>
			</ItemGroup>
			<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
		</Project>
	</xsl:template>
</xsl:stylesheet>
